#pragma once
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <Windows.h>

#define NUMINIT 4

enum option
{
	Exit,
	Add ,
	Delete,
	Search,
	Modifiy,

};

typedef struct student
{
	int stid;
	int sorce_chin;
	int sorce_math;
	int sorce_engl;
	int sorce_sum;
	char sex[6];
	char class_num[20];
	char name[32];


}student;

typedef struct StuDatas
{
	student* ptr;
	int size; 
	int capacity;
}Data;


Data* init();
void addStuInfo(Data* pd);
int searchStuInfo(Data* pd);
void serchBySorce(Data* pd);
void deleStuInfo(Data* pd);